home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
utilities
/
pu450.dms
/
pu450.adf
/
include
/
signal.h
< prev
next >
Wrap
C/C++ Source or Header
|
2014-06-18
|
528b
|
30 lines
/*
* SIGNAL.H
*
* (c)Copyright 1990, Matthew Dillon, All Rights Reserved
*/
#ifndef _SIGNAL_H
#define _SIGNAL_H
typedef char sig_atomic_t;
typedef void (*__sigfunc)(int);
#define SIG_ERR ((__sigfunc)(-1))
#define SIG_DFL ((__sigfunc)(0))
#define SIG_IGN ((__sigfunc)(1))
#define SIGABRT 1
#define SIGFPE 2
#define SIGILL 3
#define SIGINT 4 /* also static init in signal/signal.c */
#define SIGSEGV 5
#define SIGTERM 6
extern __sigfunc signal(int, __sigfunc);
extern int raise(int);
#endif